
package com.hlkj.pay.vo.finance.req;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.hlkj.pay.vo.BaseReq;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author HlpayTeam
 * @date 2024/11/14 16:04
 */
@Data
public class MerchantFinanceRecordCommonReq extends BaseReq {
    
    @Schema(description = "商户编码")
    @NotEmpty(message = "商户编码 不能为空")
    private String sn;

    /**
     * 变更金额
     */
    @Schema(description = "变动金额")
    @NotEmpty(message = "变动金额 不能为空")
    private String amount;
    
    
    @Schema(description = "类型 1:增加金额 0 减少金额")
    @NotNull(message = "方向 不能为空")
    private Integer changeType;

    /**
     * 类型 1:商户余额 2:商户手续费 3:商户保证金 4:商户营销账号 5:机构分润余额 6:机构在途利润 7:机构冻结金额 8:机构余额
     */
    @Schema(description = "类型  2:商户手续费 3:商户保证金 4:商户营销账号 5:机构分润余额 6:机构在途利润 7:机构冻结金额 8:机构余额")
    @NotNull(message = "类型 不能为空")
    private Integer type;

    @Schema(description = "备注")
    private String remark;

}
